'use strict';
module.exports = app => {
  app.beforeStart(async function() {
    await app.model.sync({});

    // await app.model.sync({ force: true });
    // await app.model.User.create({ username: '管理者', password: '123456789', permission: 1 });
    // await app.model.User.create({ username: '基础客服', password: '123456789', permission: 2 });
    // await app.model.User.create({ username: '瓜皮钊', password: '123123', permission: 3 });
  });
};
